package com.trade.dao;

import com.trade.domain.ItemBuyDo;
import com.trade.domain.ItemSellDo;

import java.util.List;

/**
 * Created by Administrator on 2016/10/15.
 */
public interface ItemSellBaseDAO {
    /**
     * 在itemsell中插入商品
     * @param itemSellDo
     */
    public boolean insertItemSell(ItemSellDo itemSellDo);

    /**
     * 查找itemsell中匹配的商品
     * @return
     */
    public List<ItemSellDo> selectItemSellByBuy(ItemBuyDo itemBuyDo);

    public List<ItemSellDo> selectItemSellBySell(ItemSellDo itemSellDo);
    /**
     * 修改物品信息
     * @param itemSellDo
     * @return
     */
    public boolean updateItemSell(ItemSellDo itemSellDo);
}
